﻿using FinancialBook.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FinancialBook.Service
{
    public interface IRepository<T> where T : ITCEntity, new()
    {
        List<T> AllItems();
        void Add(T item);
        void Delete(T item);
        void Update(T item);
        T GetItem(int id);
    }
}
